import time
from re import search
from selenium.webdriver.common.keys import Keys
from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support.select import Select

driver=webdriver.Firefox()
driver.maximize_window()
driver.get('https://www.jiuxian.com/')
time.sleep(3)
#回车
search=driver.find_element(By.ID,'wd')
search.send_keys('五粮液')
time.sleep(3)
search2=driver.find_element(By.ID,'wd')
#鼠标双击
ActionChains(driver).double_click(search2).click(search2).perform()
search2.send_keys(Keys.CONTROL,'x')
time.sleep(5)
input2=driver.find_element(By.XPATH,'')
input2.send_keys(Keys.CONTROL,'v')
time.sleep(2)
input2.send_keys(Keys.CONTROL,'v')
time.sleep(5)
